{
    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
    "version": 1,
    "newProjectRoot": "projects",
    "projects": {
        "openchatroulette": {
            "projectType": "application",
            "schematics": {},
            "root": "",
            "sourceRoot": "src",
            "prefix": "app",
            "i18n": {
                "sourceLocale": {
                    "code": "en",
                    "baseHref": ""
                },
                "locales": {
                    "fr": {
                        "translation": "src/locale/messages.fr.json"
                    },
                    "ua": {
                        "translation": "src/locale/messages.ua.json"
                    },
                    "ru": {
                        "translation": "src/locale/messages.ru.json"
                    }
                }
            },
            "architect": {
                "build": {
                    "builder": "@angular-devkit/build-angular:browser",
                    "options": {
                        "outputPath": "dist/openchatroulette",
                        "index": "src/index.html",
                        "main": "src/main.ts",
                        "polyfills": "src/polyfills.ts",
                        "tsConfig": "tsconfig.app.json",
                        "assets": [
                            "src/favicon.ico",
                            "src/assets"
                        ],
                        "styles": [
                            "node_modules/bootstrap/dist/css/bootstrap.min.css",
                            "node_modules/world-flags-sprite/stylesheets/flags32.css",
                            "src/styles.css"
                        ],
                        "scripts": [
                            "node_modules/webrtc-adapter/out/adapter.js"
                        ],
                        "allowedCommonJsDependencies": [
                            "peerjs-js-binarypack",
                            "sdp",
                            "rtcpeerconnection-shim"
                        ]
                    },
                    "configurations": {
                        "fr": {
                            "localize": ["fr"],
                            "index": {
                                "input": "src/index-fr.html",
                                "output": "index.html"
                            }
                        },
                        "ua": {
                            "localize": ["ua"],
                            "index": {
                                "input": "src/index-ua.html",
                                "output": "index.html"
                            }
                        },
                        "ru": {
                            "localize": ["ru"],
                            "index": {
                                "input": "src/index-ru.html",
                                "output": "index.html"
                            }
                        },
                        "production": {
                            "localize": ["en", "fr", "ua", "ru"],
                            "budgets": [
                                {
                                    "type": "initial",
                                    "maximumWarning": "500kb",
                                    "maximumError": "1mb"
                                },
                                {
                                    "type": "anyComponentStyle",
                                    "maximumWarning": "2kb",
                                    "maximumError": "4kb"
                                }
                            ],
                            "fileReplacements": [
                                {
                                    "replace": "src/environments/environment.ts",
                                    "with": "src/environments/environment.prod.ts"
                                }
                            ],
                            "outputHashing": "all"
                        },
                        "development": {
                            "buildOptimizer": false,
                            "optimization": false,
                            "vendorChunk": true,
                            "extractLicenses": false,
                            "sourceMap": true,
                            "namedChunks": true
                        }
                    },
                    "defaultConfiguration": "production"
                },
                "serve": {
                    "builder": "@angular-devkit/build-angular:dev-server",
                    "configurations": {
                        "production": {
                            "browserTarget": "openchatroulette:build:production"
                        },
                        "development": {
                            "browserTarget": "openchatroulette:build:development"
                        },
                        "ru": {
                            "browserTarget": "openchatroulette:build:development,ru"
                        }
                    },
                    "defaultConfiguration": "development"
                },
                "extract-i18n": {
                    "builder": "@angular-devkit/build-angular:extract-i18n",
                    "options": {
                        "browserTarget": "openchatroulette:build"
                    }
                },
                "test": {
                    "builder": "@angular-devkit/build-angular:karma",
                    "options": {
                        "main": "src/test.ts",
                        "polyfills": "src/polyfills.ts",
                        "tsConfig": "tsconfig.spec.json",
                        "karmaConfig": "karma.conf.js",
                        "assets": [
                            "src/favicon.ico",
                            "src/assets"
                        ],
                        "styles": [
                            "src/styles.css"
                        ],
                        "scripts": []
                    }
                }
            }
        }
    },
    "cli": {
      "analytics": false
    }
}
